package com.lks.users.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.lks.common.util.PageInfoUtil;
import com.lks.users.pojo.AAdmins;

public interface IUsersService
{
	/**
	 * 管理员插入
	 * 
	 * @param admins
	 * @return
	 */
	JSONObject insertOneAdminsService(AAdmins admins);

	/**
	 * 管理员更新
	 * 
	 * @param admins
	 * @return
	 */
	JSONObject updateOneAdminsService(AAdmins admins);

	/**
	 * 管理员删除
	 * 
	 * @param admins
	 * @return
	 */
	JSONObject deleteOneAdminsService(AAdmins admins);

	/**
	 * 用户查询
	 * 
	 * @param condMap
	 * @return
	 */
	AAdmins findOneAdminsService(Map<String, Object> condMap);

	/**
	 * 查询多个用户
	 * 
	 * @param pageInfoUtil
	 * @param condMap
	 * @return
	 */
	List<AAdmins> findCondListAdminsService(PageInfoUtil pageInfoUtil, Map<String, Object> condMap);
}
